func runtime.heapRetained
5 uses
runtime (current package)
mgcscavenge.go#L150: func heapRetained() uint64 {
mgcscavenge.go#L224: heapRetainedNow := heapRetained()
mgcscavenge.go#L407: return heapRetained() <= scavenge.gcPercentGoal.Load() &&
mgcscavenge.go#L707: (gcController.heapInUse.load()*100)/heapRetained(), "% util",
mheap.go#L1301: if retained := heapRetained(); retained+uint64(growth) > goal {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |